package com.huawei.appgallery.wishwall.ui.cardkit.node;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewGroup.LayoutParams;
import android.widget.LinearLayout;
import com.huawei.appgallery.wishwall.ui.cardkit.card.WishWallDetailEmptyCard;
import o.azb;
import o.cdr;
import o.cih;
import o.ddq.c;

public class WishWallDetailEmptyNode extends cdr {
    public WishWallDetailEmptyNode(Context context) {
        super(context, 1);
    }

    public WishWallDetailEmptyNode(Context context, int i) {
        super(context, 1);
    }

    public boolean ˊ(ViewGroup viewGroup, ViewGroup viewGroup2) {
        LayoutParams layoutParams = new LinearLayout.LayoutParams(-1, -2);
        View view = (ViewGroup) LayoutInflater.from(this.ॱ).inflate(c.ʻ, null);
        azb.ˏ(view);
        cih wishWallDetailEmptyCard = new WishWallDetailEmptyCard(this.ॱ);
        wishWallDetailEmptyCard.ˏ(view);
        ˊ(wishWallDetailEmptyCard);
        viewGroup.addView(view, layoutParams);
        return true;
    }
}
